package com.wdh.kjs.fragment;

import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ScrollView;

import com.wdh.kjs.Adapter.InvestmentListAdapter;
import com.wdh.kjs.Adapter.ListViewForScrollView;
import com.wdh.kjs.R;
import com.wdh.kjs.activity.CompletedTransferActivity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * Created by codingWw on 2016/3/7.
 */
public class Im_investrecord_Fragment extends Fragment implements View.OnClickListener{
    private Button completedTransfer;
    private Intent intent;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_invest_record, container, false);
        initView(view);
        Log.i("msg","asdads1");
        return view;
    }
    private void initView(View view) {
        completedTransfer = (Button)view.findViewById(R.id.completedTransfer);
        Log.i("msg","asdads2");
        completedTransfer.setOnClickListener(this);
        Log.i("msg","asdads3");

    }

    @Override
    public void onClick(View view) {
        intent = new Intent(getActivity(), CompletedTransferActivity.class);
        Log.i("msg","asdads4");
        startActivity(intent);
    }
}
